//
//  BKLiveSubView.h
//  BukaLive
//
//  Created by 曹飞 on 2017/6/20.
//  Copyright © 2017年 曹飞. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "BKButton.h"
#import "BKEnableMicModel.h"
//#import "BKBaseTouchView.h"
#import "BKBaseMoveView.h"


static NSString * const kNotificationVideoAddBack     = @"videoAddBackNotification";
static NSString * const kNotificationVideoMovedOut    = @"videoMovedOutNotification";
static NSString * const kNotificationTranslation      = @"translation";

typedef BOOL(^CanAutoMoveBlock)(void);


@interface BKLiveSubView :BKBaseMoveView

@property (nonatomic,strong) UIView * contentView;              //存放视频视图的容器
@property (nonatomic,strong) UIView * bottomView;               //底部灰色条
@property (nonatomic,strong) UILabel * nickName;     //昵称
@property (nonatomic,strong) BKButton *voiceBtn;                //声音按钮  可能不需要按
@property (nonatomic,strong) UIImageView * defaultImage;        //特殊状态下显示某个页面
@property (nonatomic,strong) BukaStatus * stream;                   //设置stream自动布局
@property (nonatomic,strong) BKEnableMicModel * statModel;      //状态
@property (nonatomic,copy) CanAutoMoveBlock canAutoMoveBlock;   //返回YES 或者不设置block 都会执行边界自动吸入效果 设置并返回NO 不执行自动吸入效果
@property (nonatomic,strong) UIImageView * handsImage;        //举手

@property (nonatomic,strong) UIImageView * headImg;
@property (nonatomic,strong) UIButton * voiceImg;
@property (nonatomic,strong) UIImageView * nameImg;
@property (nonatomic,strong) UILabel * nameLB;

@property (nonatomic,assign) BOOL voiceStat;



//记录最新的位置信息,只记录最新的，没有其他任何操作
@property (nonatomic,strong) BKVideoMoveModel * moveModel;

@property (nonatomic, strong) UIProgressView * progressView;

/**
 显示占位图

 @param show YES 显示 NO 隐藏
 */
-(void)showDefaulImage:(BOOL)show;
//
-(void)setMuteStat:(BOOL)stat;
//-(void)setVideoStat:(BOOL)stat;
//-(void)setGrantStat:(BOOL)stat;

-(void)showHand:(BOOL)show;

-(void)showVideo:(BOOL)show;




@end
